package com.suyang.syt.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/** 用户表(status:用户状态（1表示启用,-1表示停用）) */
@Entity
@Table(name = "SYS_USER")
@SuppressWarnings("serial")
public class User extends BaseEntity {
	/** 用户帐号 */
	private String username;
	/** 用户密码 */
	private String password;
	/** 用户别名 */
	private String nickname;
	/** 用户头像 */
	private String icon;
	/** 用户邮箱 */
	private String email;
	/** 手机号码 */
	private String phone;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
